import {
  request
} from "../../utils/request"

export function sendCode(data) {
  return request({
    url: "/sms/send",
    method: "POST",
    data
  })
}

export function regAcc(data){
  return request({
    url: "/c_api/register",
    method: "POST",
    data
  })
}

export function userConfig(){
  return request({
    url :'/common_api/config/getUserPrivacyConfig'
  })
}
export function privacyConfig(){
  return request({
    url :'/common_api/config/getPrivacyConfig'
  })
}